home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 10
/
The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso
/
PC_SIGCD
/
22
/
4
/
DISK2247.ZIP
/
CBASE101.ZIP
/
CBASE.RME
< prev
next >
Wrap
Text File
|
1990-06-21
|
7KB
|
209 lines
----------------------------------------------------------------------
| Citadel |
| 241 East Eleventh Street * Brookville, IN 47012 * 317-647-4720 |
| BBS 317-647-2403 |
----------------------------------------------------------------------
cbase is distributed in a single compressed file cbaseRL.zip; R and L
would be the release and level numbers, respectively. The ZIP data
compression utilities are needed to extract the individual files.
The following files are obtained by decompressing cbaseRL.zip:
cbase.rme preliminary information
rlsnotes.txt release notes
order.txt order form
distrib.txt application to distribute cbase for profit
guide.txt cbase Programmer's Guide
blkioRL.zip blkio library source code
lseqRL.zip doubly linked sequential file mngmnt library source code
btreeRL.zip B+-tree file management library source code
cbase.zip cbase library source code
rolodeck.zip rolodeck example program
cbase is not public domain. It may be evaluated free for a period of
30 days. See the file order.txt for registration and ordering
information.
cbase includes four individual libraries, each of which has been
separated into its own compressed file. The first step in the
installation is to place each compressed file in its own directory,
then perform the extraction to obtain the individual files. For
example, the following sequence of MS-DOS commands would create
a directory for the blkio library and extract the blkio files into
that directory.
> mkdir blkio
> copy blkioRL.zip blkio
> chdir blkio
> pkunzip blkioRL.zip
The same must be done for manxRL.zip, which is one of the files
extracted from blkioRL.zip; manx is a utility used to generate
the reference manual for each library. The remaining installation
instructions may be found in Appendix A of the "cbase Programmer's
Guide" (guide.txt). After installing each library, the reference
manual for that library will be in the file libname.man, where libname
would be the name of the library.
The original file cbaseRL.zip should be saved if you wish to pass on
copies of cbase to others. cbase may not be distributed as individual
Citadel 90/06/21
files, or in an incomplete or altered form. The individual libraries
may not be distributed separately. The exceptions are blkioRL.zip and
manxRL.zip; see their respective readme files for details. An
application must be filed and approved in order to distribute copies
of cbase for profit. See the file distrib.txt for an application
form.
Citadel 90/06/21
----------------------------------------------------------------------
| cbase - The C Database Library |
| Version 1.0 |
----------------------------------------------------------------------
cbase is a complete multiuser C database file management library,
providing indexed and sequential access on multiple keys. It features
a modular design, comprising four individual libraries:
cbase - C database library
lseq - doubly linked sequential file management library
btree - B+-tree file management library
blkio - block buffered input/output library
cbase internally uses lseq for record storage and btree for inverted
file index storage, which in turn use blkio for file access and
buffering; blkio is analagous to stdio but based on a file model more
appropriate for structured files such as used in database software.
The figure below diagrams the hierarchical relationship of the cbase
libraries.
-----------------------------------
| cbase |
-----------------------------------
| |
----------------- -----------------
| lseq | | btree |
----------------- -----------------
| |
-----------------------------------
| blkio |
-----------------------------------
cbase Libraries
The lower level libraries can also be accessed directly for
independent use. For example, the btree library can be used to
manipulate B+-trees for purposes other than inverted files, and the
blkio library to develop new structured file management libraries.
Citadel 90/06/21
cbase Features
--------------
Portable:
- Written in strict adherence to ANSI C standard.
- K&R C compatibility maintained.
- All operating system dependent code is isolated to a small portion
of the blkio library to make porting to new systems easy.
- UNIX and MS-DOS currently supported.*
Buffered:
- Both records and indexes are buffered using LRU (least recently
used) buffering.
Fast and efficient random access:
- B+-trees are used for inverted file key storage.
- Multiple keys are supported.
- Both unique and duplicate keys are supported.
Fast and efficient sequential access:
- B+-trees also allow keyed sequential access.
- Records are stored in doubly linked lists for non-keyed sequential
access.
- Both types of sequential access are bidirectional.
Multiuser:
- Read-only locking.
Other:
- Text file data import and export.
- Custom data types can be defined.
- Marker used to detect corrupt files when opened.
- Reference documentation is in standard UNIX manual entry format,
including errno values.
$77 plus shipping VISA/MasterCard
All source code included.
Technical support included.
No run-time fees or royalties.
Citadel
241 East Eleventh Street
Brookville, IN 47012
317-647-4720
BBS 317-647-2403
An evaluation copy of cbase can be obtained at no charge on the
Citadel BBS 317-647-2403, or send $5 for diskette.
* UNIX is a trademark of AT&T. Turbo C is a trademark of Borland
International, Inc. MS-DOS is a trademark of Microsoft.
Citadel 90/06/21